#ifndef EXPENSE_STRUCT_CSV
#define EXPENSE_STRUCT_CSV

#include "expense_struct.hpp"

class expense_struct_csv: public expense_struct
{	

   private: 

    static const enum csv_field_tags
	{
	  ID =0,
	  DAY,
	  AMOUNT,
	  ALLOWANCE_ID,
	  CHILD_ALLOWANCE_ID,
	  ACTIVITY_ID,
	  DESCR
	} csv_field;

public:     
	expense_struct_csv(std::vector<std::string> const& v);

	expense_struct_csv(): expense_struct() {};

//[trasferta, ticket_restaurant, no_refund, toll, other_transportation, meal, hotel, other_expenses, total_amount]	

	int find_daily_expenses(float refund_no_refund[]);
		
};

#endif
